package com.whlilong.jxc.action;


import org.eclipse.ui.IWorkbenchWindow;

import com.whlilong.jxc.service.editor.IEditorService;
public class NewAction extends AbstractAction {
	private String id = "com.whlilong.jxc.new";
	
	public NewAction(IWorkbenchWindow window) {
		super(window);
		setId("new");
		setActionDefinitionId(id);
	}

	@Override
	void doOperator(IEditorService ieditorService) {
		ieditorService.create();
	}
	
}
